.demo {
  padding: 2em 0;
}

.main-timeline {
  position: fixed;
  bottom:7px;
  width:80%;
  
  margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}
.main-timeline .swiper-container{
    height:60px;
}
.main-timeline:before,
.main-timeline:after {
  content: "";
  display: block;
  width: 100%;
  clear: both;
}

.main-timeline:before {
  content: "";
  width: 90%;
  height: 5px;
  background: #2c3748;
  margin: auto ;
  position: relative;
  top: 35px;
  /**left: 0;**/
}

.main-timeline .timeline {

  float: left;
  margin-left: 3%;
  position: relative;
  top:10px;
}

.main-timeline .timeline:before {
  content: attr(data-heading);
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  transform: rotate(-90deg);
  position: absolute;
  top: 30px;
  left: -2px;
  z-index: 2;
}

.main-timeline .timeline-content {
  padding: 15px 0 40px 50px;
  margin-bottom: 80px;
  border-radius: 15px;
  border: 5px solid #fff;
  text-align: left;
  background: #f67420;
  z-index: 1;
  position: relative;
}

.main-timeline .timeline:nth-child(even) .timeline-content {
  background: #43a6ba;
}

.main-timeline .timeline-content:before {
  content: "";
  width: 40px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #d66215;
  border-radius: 10px 0 0 10px;
}

.main-timeline .timeline:nth-child(even) .timeline-content:before {
  background: #1784ab;
}

.main-timeline .timeline-content:after {
  content: "";
  width: 40px;
  height: 40px;
  background: #f67420;
  border-bottom: 5px solid #fff;
  border-right: 5px solid #fff;
  position: absolute;
  bottom: -23px;
  left: 50px;
  transform: rotate(45deg);
  z-index: -1;
}

.main-timeline .timeline:nth-child(even) .timeline-content:after {
  background: #43a6ba;
}

.main-timeline .description {
  font-size: 14px;
  color: #fff;
}

.main-timeline .read-more {
  display: inline-block;
  padding-right: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: capitalize;
  position: relative;
}

.main-timeline .read-more:before {
  /*content: "\f0da";
		font-family: 'FontAwesome';*/
  font-size: 24px;
  position: absolute;
  top: -6px;
  right: 0;
}

.main-timeline .year {
  display: inline-block;
  width: 100%;
  height: 42px;
  line-height: 42px;
  background: #439428;
  border-radius: 5px;
  border: 2px solid #2c3748;
  text-align: center;
  margin-left: 25px;
  /**transform: rotate(45deg);**/
  position: relative;
}

.main-timeline .timeline:nth-child(even) .year {
  background: #43a6ba;
}

.main-timeline .year span {
  cursor: pointer;
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  /**transform: rotate(-45deg);**/
}

.main-timeline .timeline.bottom {
  margin: -7.7% 0 0 7%;
}

.main-timeline .timeline.bottom:nth-child(5n+1),
.main-timeline .timeline.bottom:last-child {
  margin-left: 3%;
}

.main-timeline .timeline.bottom:before {
  top: auto;
  bottom: 110px;
}

.main-timeline .timeline.bottom:after {
  top: auto;
  left: auto;
  bottom: 54%;
  right: 71px;
  border-color: #fff;
}

.main-timeline .timeline.bottom .timeline-content {
  margin: 80px 0 0 0;
  padding: 15px 0 40px 50px;
}

.main-timeline .timeline.bottom .timeline-content:after {
  border: none;
  border-top: 5px solid #fff;
  border-left: 5px solid #fff;
  bottom: auto;
  top: -23px;
  left: auto;
  right: 50px;
}

.main-timeline .timeline.bottom .year {
  top: 4px;
  margin-left: 132px;
}
.swiper-button-prev, .swiper-button-next {
    position: absolute;
    top: 50%;
    width: 10px !important;
    height: 24px !important;
    margin-top: -10px !important;
    z-index: 10;
    cursor: pointer;
    background-size: 10px 24px !important;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #040f3c !important;}
    .swiper-button-next{
      right: 1px !important;
    }
